package com.geyue.controller;

import com.geyue.core.model.About;
import com.geyue.core.model.Help;
import com.geyue.core.service.AboutService;
import com.geyue.core.service.HelpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * Created by Chen on 2017/4/20.
 */
@RestController
@RequestMapping("/api/about")
public class AboutController {

    @Autowired
    private AboutService aboutService;


    @RequestMapping(value = "/queryAbout",method = RequestMethod.GET)
    @ResponseBody
    public Object queryAbout(){

        return aboutService.queryAbout();
    }





}
